﻿using System;
using System.Collections.Generic;
using System.Data.Entity.ModelConfiguration;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Himall.Entity.Config
{
   public class WeiXinBasicInfoConfig : EntityTypeConfiguration<WeiXinBasicInfo>
    {
        public WeiXinBasicInfoConfig()
        {
            ToTable("Himall_WeiXinBasic");
            Property(item => item.AppId).HasColumnType("varchar").HasMaxLength(50);
            Property(item => item.Ticket).HasColumnType("varchar").HasMaxLength(300);
            Property(item => item.AccessToken).HasColumnType("varchar").HasMaxLength(1000);
        }
    }
}
